<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>箭头函数和普通函数</title>
</head>
<body>
<script>
  // window.onload= function () {
  //   console.log("开始加载");
  //   console.log(this);
  // }

  function loadFunction() {
    console.log("开始加载");
    console.log(this);
  }

  window.load = loadFunction()
</script>
</body>
</html>